import  random
a = random.randint(0,10000)
b = int(input())
while a!=b:
    b = int(input())
    if a < b:
        print("大了")
        continue
    elif a > b:
        print("小了")
        continue
    else:
        print("恭喜猜中，本轮幸运数字：%d"% b)
        break